<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>监督受理</title>
<script type="text/javascript"
	src="<c:url value='/ext/ui/jquery-ui-1.8.12.custom.min.js'/>"></script>
<link href="${ctx}/styles/lightness/jquery-ui-1.8.12.custom.css"
	rel="stylesheet" />
<script type="text/javascript">
	$(document).ready(function() {
		$("#inputForm").validate({
			event:"blur",
	 		isTip:true
		});
	});
</script>
</head>
<body>
	<div id="heading" class="apply"><h6>资料基本情况</h6></div>
	<form action="${ctx }/business/appl/material!save.action?projectId=${projectId}" method="post" id="inputForm"
		class="yform">
		<input type="hidden" name="taskId" id="taskId" value="${taskId }">
		<input type="hidden" name="fid" id="fid" value="${fid }">
		<div id="tabs">
			<div>
				<table class="noborder" width="300">
					<tr class="type-text">
						<th>项目细项</th>
						<th>资料份数</th>
						<th>审查意见</th>
						<th>备注</th>
					</tr>
					<c:forEach items="${materials }" var="material"
						varStatus="state">
						<tr class="type-text">
							<td><pt:code category="${material.itemType }"
									code="${material.item }"></pt:code> <input type="hidden"
								name="materials[${state.index }].itemType"
								value="${material.itemType }" readonly="readonly"><input
								type="hidden" name="materials[${state.index }].id"
								value="${material.id }"> <input type="hidden"
								name="materials[${state.index }].item" value="${material.item }">
								<input type="hidden" name="materials[${state.index }].delFlag"
								value="${material.delFlag}" ></td>
							<td><input type="text"
								name="materials[${state.index }].count"
								value="${material.count}" class="digits"></td>
							<td><input type="text"
								name="materials[${state.index }].auditOpinion"
								value="${material.auditOpinion }"></td>
							<td><input type="text"
								name="materials[${state.index }].remark"
								value="${material.remark }"></td>
						</tr>
					</c:forEach>
				</table>
			</div>
			<div>
				<div class="type-button">
						<input   type="submit" class="submit" value="下一步" />&nbsp;
					<input   type="button" value="返回" class="reset"
						onclick="history.back()" />
				</div>
			</div>
		</div>
	</form>
</body>
</html>